package com.neusoft.demo.mapper;

import com.neusoft.demo.pojo.Business;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface BusinessMapper {
    @Select("select * from business where businessName=#{bname} and password=#{pwd}")
    public Business BusinessLogin(String bname,String pwd);
    @Select("select * from business group by businessId asc")
    public java.util.List<Business> BusinessList();
}
